#codding:utf-8
import requests
import json


def GET(url):
    #get请求
    req = requests.get(url)
    #输出状态码
    print(req.status_code)
    #输出返回内容

if __name__ == "__main__":
    GET(r"https://api.xygeng.cn/one")
